Just-in-Time Compiler Assisted Object Reclamation and Space Reuse
نویسندگان
چکیده
Garbage collection consumes significant overhead to reclaim memory used by dead (i.e., unreachable) objects in applications. This paper explores techniques for compiler assisted object reclamation and allocation on an actual JVM. Thereinto, the just-in-time compiler identifies dead objects using pointer and escape analysis combining liveness information and inserts calls to free them. The garbage collector provides runtime support for explicit reclamation and space reuse. Our approach differs from other compiler assisted GC in two crucial ways. First, it identifies not only the objects that are no longer referenced directly by the program, but also the objects that are referenced only by those identified to-be-freed objects. Second, it modifies a parallel garbage collector, and not only frees the identified dead objects, but also tries to reuse their space immediately. The experimental results show that the JIT-assisted GC improves the memory utility and the performance efficiently. Keyword: compiler assisted garbage collection, pointer and escape analysis, live variable information, parallel garbage collector
منابع مشابه
Garbage Collection for Strongly - Typed Languagesusing Run - time Type
Garbage collectors perform two functions: live-object detection and dead-object reclamation. In this paper, we present a new technique for live-object detection based on run-time type reconstruction for a strongly-typed, polymorphic language. This scheme uses compile-time type information together with the run-time tree of activation frames to determine the exact type of every object participat...
متن کاملApplication of Nanofiltration/Reverse Osmosis Membranes to Textile Effluents Aiming its Reclamation and Reuse: Influence of Operating Conditions
Please cite this article as: Barredo-Damas S., Alcaina-Miranda M. I., Iborra-Clar M. I. and Mendoza-Roca J. A., (2010), Application of nanofiltration/reverse osmosis membranes to textile effluents aiming its reclamation and reuse: influence of operating conditions, Chemical Engineering Transactions, 21, 1027-1032 DOI: 10.3303/CET1021172 Application of Nanofiltration/Reverse Osmosis Membranes to...
متن کاملUniprocessor Garbage Collection Techniques 1 Automatic Storage Reclamation
We survey basic garbage collection algorithms, and variations such as incremental and generational collection. The basic algorithms include reference counting, mark-sweep, mark-compact, copying, and treadmill collection. Incremental techniques can keep garbage collection pause times short, by interleaving small amounts of collection work with program execution. Generational schemes improve effi...
متن کاملUpgrading Wastewater Treatment Plants Based on Reuse Demand, Technical and Environmental Policies (A Case Study)
Reclamation and reuse programs are an indispensable part of integrated water resource management, particularly in arid and semi arid regions. Yet, the feasibility of sustainable application not only is relied on design, operation and maintenance of wastewater treatment plants, but also could be influenced by the economical and environmental aspects of reuse demands. This study is aimed to illus...
متن کاملJIT-Compiler-Assisted Distributed Java Virtual Machine
There is now a strong interest in high-performance execution of multithreaded Java programs in a cluster. Previous efforts to provide for such executions have either used static compilation tools that can transform multithreaded Java programs into parallel versions, or interpreter-based cluster-aware JVMs that offer the needed support. They failed however to be fully compliant with the Java lan...
متن کامل